//
// Created by Administrator on 2023-03-12.
//

#ifndef OPENGL_TRIANGLE_H
#define OPENGL_TRIANGLE_H
#include <GLES3/gl3.h>
#include "GLUtil.h"
#include <android/asset_manager_jni.h>
#include <android/asset_manager.h>
class Triangle {
public:
    GLuint mProgram;
    GLUtil glUtil;
    GLuint mVertexShader;
    GLuint mFragmentShader;
    Triangle();
    ~Triangle();
    void Init(AAssetManager*  pManager,const char* vShaderFileName,const char* fShaderFileName);
    void Draw();
};


#endif //OPENGL_TRIANGLE_H